package week3;

/**
 * Created by dell on 2017/3/12.
 */
public class MathTool {
    public static int sum (int... numbers){
        int sum = 0;
        for(int number : numbers){
            sum += number;
        }
        return sum;
    }
}
